home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’96 / Talking Telnet / source / ICR / vdevice.h < prev    next >
Encoding:
Text File  |  1996-06-22  |  496 b   |  21 lines  |  [TEXT/CWIE]

  1. //vdevice.h
  2.  
  3. #include "QDOffscreen.h"
  4. #ifndef VDEVS
  5. #define VDEVS
  6. /*
  7. *  Virtual device record.
  8. *  Defines the handles and hooks required for the vdevice code.
  9. */
  10.  
  11. //Updated by CCP (2.7) to fix crashing bugs in existance since 2.5
  12. typedef struct {
  13.     GWorldPtr whichWorld;                /* GDevice created off-screen */
  14.     //unsigned char *bp;            /* base pointer of data in the virtual device */
  15.     Rect *bounds;                /* boundary rectangle for vdevice */
  16. } VDevice, *VDevicePtr;
  17.  
  18.  
  19. #endif
  20.  
  21. //#include "vdevice.proto.h"